package com.example.d11_interface_attention;

/**
 * 目标：理解接口的多继承
 */
public class Test1 {
    public static void main(String[] args) {

    }
}

interface A {
    void test1();
}

interface B {
    void test2();
}

interface C {
}

// 接口是多继承的
interface D extends C, B, A {

}

class E implements D {
    @Override
    public void test1() {

    }

    @Override
    public void test2() {

    }
}


